package com.example.AIstudy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("levelrecord")
public class LevelRecord implements Serializable {
    //自增的主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(exist = false)
    private String startTimeStr;

    @TableField(exist = false)
    private String endTimeStr;

    //记录的开始时间
    @TableField("startTime")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp startTime;

    //记录的结束时间（以一周为一个周期）
    @TableField("endTime")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp endTime;

    //一段时间内的综合水平
    @TableField("overlevel")
    private float overlevel;

    //一段时间内的综合评价
    @TableField("overEvaluation")
    private String overEvaluation;

    //用户的ID
    @TableField("stuID")
    private int stuID;
    //语言理解评分
    @TableField("lanCompreScore")
    private String lanCompreScore;
    //语言理解建议
    @TableField("lanCompreComment")
    private String lanCompreComment;

    //语言表达评分
    @TableField("lanExpreScore")
    private String lanExpreScore;
    //语言表达建议
    @TableField("lanExpreComment")
    private String lanExpreComment;

    //语言知识评分
    @TableField("lanKnowledgeScore")
    private String lanKnowledgeScore;
    //语言知识建议
    @TableField("lanKnowledgeComment")
    private String lanKnowledgeComment;

    //选择题综合评价
    @TableField("choicePerformance")
    private String choicePerformance;
    //选择题综合建议
    @TableField("choiceSuggestion")
    private String choiceSuggestion;

    //阅读题综合评价
    @TableField("readingPerformance")
    private String readingPerformance;
    //阅读题综合建议
    @TableField("readingSuggestion")
    private String readingSuggestion;

    //翻译题综合评价
    @TableField("TranslationPerformance")
    private String TranslationPerformance;
    //翻译题综合建议
    @TableField("TranslationSuggestion")
    private String TranslationSuggestion;

    //作文题综合评价
    @TableField("essayPerformance")
    private String essayPerformance;
    //作文题综合建议
    @TableField("essaySuggestion")
    private String essaySuggestion;


}
